FernleafSystems\Wordpress\Plugin\Shield\Modules\LoginGuard\Lib\TwoFactor\Provider\U2F S

Total Complexity 42
Dependencies 7
Dependents 3
Total lines 326
Lines of code 242
Logical lines of code 99
Comment lines 46
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
addNewRegistration()
A
44 7 45
addRegistration()
S
52 7 25
getFormField()
S
51 3 27
getProviderSpecificRenderData()
S
51 2 29
validateU2F()
S
57 2 17
createNewU2fRegistrationRequest()
S
58 2 15
getU2fAppID()
S
70 3 5
handleUserProfileSubmit()
S
65 3 8
auditLogin()
S
64 2 11
getJavascriptVars()
S
52 1 26
removeRegisteredU2fId()
S
67 2 8
isProfileActive()
S
78 2 3
getRegistrations()
S
65 2 9
storeRegistrations()
S
75 1 4
processOtp()
S
79 1 3
isProviderEnabled()
S
76 1 4
getProviderName()
S
82 1 3